Skip to content

fix: BIP-85 test gating + --validate-junit for CI parity#186

Merged
pastaghost merged 1 commit intomasterfrom
fix/ci-validate-sections
Mar 31, 2026
Merged

fix: BIP-85 test gating + --validate-junit for CI parity#186
pastaghost merged 1 commit intomasterfrom
fix/ci-validate-sections

Conversation

@BitHighlander
Copy link
Copy Markdown
Contributor

Summary

  • BIP-85 tests now use requires_message("GetBip85Mnemonic") so they skip when the proto isn't available (same pattern as Zcash/Solana/TRON tests)
  • New --validate-junit flag on generate-test-report.py checks JUnit XML against SECTIONS — exits non-zero if any non-skipped test failed or is missing

Why

CI Phase 2 runs pytest || true and hardcodes echo "0" to the status file, so test failures never fail CI. The PDF report shows failures but nobody sees them until after merge. This flag lets the CI test job enforce the same rules as the report.

Test plan

  • BIP-85 tests skip cleanly on develop emulator (no GetBip85Mnemonic proto)
  • --validate-junit --junit=passing.xml exits 0
  • --validate-junit --junit=failing.xml exits 1 with failure list

- BIP-85 tests now skip gracefully when GetBip85Mnemonic proto is absent
- New --validate-junit flag checks JUnit results against SECTIONS catalog
  so CI can enforce the same pass/fail rules as the PDF report
@pastaghost pastaghost merged commit af84e9a into master Mar 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants